package com.uniknow.app.operate;

import java.util.List;

import com.uniknow.app.bin.NewsBean;
import com.uniknow.app.bin.UniChannelBean;
import com.uniknow.app.bin.UserBean;
import com.uniknow.app.bin.WixAccountBean;

public interface CommonOperate {
	
	public void getNews(UserBean user,int pageNumber,int pageSize,BaseListener listener);
	
	public void sendNews(UserBean user,NewsBean newsBean,BaseListener listener);
	
	public void addWixAccount(UserBean user,WixAccountBean wixAccountBean,BaseListener listener);
	
	public void getWixAccount(UserBean user,BaseListener listener);
	
	/**
	 * 选择渠道并且发送信息到指定渠道（文字）
	 * @param user
	 * @param newsBean
	 * @param listChannel
	 * @param listener
	 */
	public void publicNews(UserBean user,NewsBean newsBean,List<UniChannelBean> listChannel,BaseListener listener);

}
